/**
 * Project Name:kany-utils
 * File Name:ScheduleJobMapper.java
 * Package Name:me.kany.utils.springutils.task.mapper
 * Date:2016年9月20日下午10:38:14
 * Copyright (c) 2016, Jason.Wang All Rights Reserved.
 */
package me.kany.utils.springutils.task.mapper;

import java.io.Serializable;
import java.util.List;

import me.kany.utils.springutils.task.model.ScheduleJob;

/**
 * ClassName:ScheduleJobMapper<br/>
 * Function: 用于MyBatis数据库操作的 ScheduleJobMapper类<br/>
 * Date:2016年9月20日下午10:38:14<br/>
 * 
 * @author Jason.Wang
 * @version 1.0
 * @since JDK1.7
 * @see
 */
public interface ScheduleJobMapper extends Serializable{

	/**
	 * 保存ScheduleJob对象
	 * @param scheduleJob
	 */
	public int saveScheduleJob(ScheduleJob scheduleJob) throws Exception;

	/**
	 * 保存ScheduleJob对象
	 * @param scheduleJob
	 */
	public int saveScheduleJobSelective(ScheduleJob scheduleJob) throws Exception;

	/**
	 * 根据jobId删除ScheduleJob
	 * @param jobId
	 */
	public void deleteScheduleJobByjobId(java.lang.Long jobId) throws Exception;

	/**
	 * 更新对象ScheduleJob
	 * @param scheduleJob
	 */
	public int updateScheduleJob(ScheduleJob scheduleJob) throws Exception;

	/**
	 * 根据jobId获取ScheduleJob
	 * @param jobId
	 * @return ScheduleJob
	 */
	public ScheduleJob queryScheduleJob(java.lang.Long jobId) throws Exception;

	/**
	 * 根据对象获取所有的ScheduleJob集合
	 * @param scheduleJob
	 * @return List<ScheduleJob>
	 */
	public List<ScheduleJob> queryScheduleJobList(ScheduleJob scheduleJob) throws Exception;

}
